projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Bluetooth] Integrate low-level connections into the driver model
[deliverable/linux.git]
/
net
/
bluetooth
/
rfcomm
/
tty.c
diff --git
a/net/bluetooth/rfcomm/tty.c
b/net/bluetooth/rfcomm/tty.c
index b105a715fa93e76624b0af98bd9ba1c7126bc7b2..bd8d671a0ba6f1622ee54e463c2d393b0a6a8943 100644
(file)
--- a/
net/bluetooth/rfcomm/tty.c
+++ b/
net/bluetooth/rfcomm/tty.c
@@
-27,7
+27,6
@@
* $Id: tty.c,v 1.24 2002/10/03 01:54:38 holtmann Exp $
*/
* $Id: tty.c,v 1.24 2002/10/03 01:54:38 holtmann Exp $
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/tty.h>
#include <linux/module.h>
#include <linux/tty.h>
@@
-170,10
+169,9
@@
static int rfcomm_dev_add(struct rfcomm_dev_req *req, struct rfcomm_dlc *dlc)
BT_DBG("id %d channel %d", req->dev_id, req->channel);
BT_DBG("id %d channel %d", req->dev_id, req->channel);
- dev = k
m
alloc(sizeof(struct rfcomm_dev), GFP_KERNEL);
+ dev = k
z
alloc(sizeof(struct rfcomm_dev), GFP_KERNEL);
if (!dev)
return -ENOMEM;
if (!dev)
return -ENOMEM;
- memset(dev, 0, sizeof(struct rfcomm_dev));
write_lock_bh(&rfcomm_dev_lock);
write_lock_bh(&rfcomm_dev_lock);
This page took
0.059743 seconds
and
5
git commands to generate.