diff options
author | Tilman Schmidt <tilman@imap.cc> | 2006-04-11 01:55:11 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-11 09:18:50 -0400 |
commit | 01371500b245ae63f542d74140a3d8ccb74d0318 (patch) | |
tree | 8c758e86e3b6266c742b08111d53ac5bd21c0cbe /drivers/isdn/gigaset/usb-gigaset.c | |
parent | 714e8236e5ea9d39169761c546274ceb7eeb765f (diff) |
[PATCH] isdn4linux: Siemens Gigaset drivers: eliminate from_user argument
With Hansjoerg Lipp <hjlipp@web.de>
Eliminate the from_user argument from a debugging function, thus easing the
job of sparse.
Signed-off-by: Hansjoerg Lipp <hjlipp@web.de>
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/isdn/gigaset/usb-gigaset.c')
-rw-r--r-- | drivers/isdn/gigaset/usb-gigaset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/gigaset/usb-gigaset.c b/drivers/isdn/gigaset/usb-gigaset.c index e1a3eeb3c21a..6ae5df5f2b6a 100644 --- a/drivers/isdn/gigaset/usb-gigaset.c +++ b/drivers/isdn/gigaset/usb-gigaset.c | |||
@@ -500,7 +500,7 @@ static int gigaset_write_cmd(struct cardstate *cs, const unsigned char *buf, | |||
500 | 500 | ||
501 | gigaset_dbg_buffer(atomic_read(&cs->mstate) != MS_LOCKED ? | 501 | gigaset_dbg_buffer(atomic_read(&cs->mstate) != MS_LOCKED ? |
502 | DEBUG_TRANSCMD : DEBUG_LOCKCMD, | 502 | DEBUG_TRANSCMD : DEBUG_LOCKCMD, |
503 | "CMD Transmit", len, buf, 0); | 503 | "CMD Transmit", len, buf); |
504 | 504 | ||
505 | if (!atomic_read(&cs->connected)) { | 505 | if (!atomic_read(&cs->connected)) { |
506 | err("%s: not connected", __func__); | 506 | err("%s: not connected", __func__); |
@@ -559,7 +559,7 @@ static int gigaset_brkchars(struct cardstate *cs, const unsigned char buf[6]) | |||
559 | #ifdef CONFIG_GIGASET_UNDOCREQ | 559 | #ifdef CONFIG_GIGASET_UNDOCREQ |
560 | struct usb_device *udev = cs->hw.usb->udev; | 560 | struct usb_device *udev = cs->hw.usb->udev; |
561 | 561 | ||
562 | gigaset_dbg_buffer(DEBUG_USBREQ, "brkchars", 6, buf, 0); | 562 | gigaset_dbg_buffer(DEBUG_USBREQ, "brkchars", 6, buf); |
563 | memcpy(cs->hw.usb->bchars, buf, 6); | 563 | memcpy(cs->hw.usb->bchars, buf, 6); |
564 | return usb_control_msg(udev, usb_sndctrlpipe(udev, 0), 0x19, 0x41, | 564 | return usb_control_msg(udev, usb_sndctrlpipe(udev, 0), 0x19, 0x41, |
565 | 0, 0, &buf, 6, 2000); | 565 | 0, 0, &buf, 6, 2000); |