diff options
author | Paul Bolle <pebolle@tiscali.nl> | 2009-01-14 14:41:00 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-14 14:41:00 -0800 |
commit | bae584316045011ce3376816585a305d2b9b76f2 (patch) | |
tree | 9d6dedb678562d0015a2947212cc6100a46b4819 /block/scsi_ioctl.c | |
parent | f0d44ae310bc8eb0b6694e257015d8b24e1a357c (diff) |
i4l: do not print a warning when shutting down an i4l ppp interface
When an i4l ppp interface is shut down (e.g. with /sbin/ifdown ippp0) a
scary warning is logged:
isdn_free_channel: called with invalid drv(-1) or channel(-1)
This warning is caused by isdn_net_unbind_channel(), which always calls
isdn_free_channel() even if isdn_net_local->isdn_device and
isdn_net_local->isdn_channel are (still) in a perfectly acceptable
default state, so let's not do that.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/scsi_ioctl.c')
0 files changed, 0 insertions, 0 deletions