diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-08-23 00:54:10 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:52:02 -0400 |
commit | 37e1370b701b9a032399e8e2d130009eefa66782 (patch) | |
tree | 01ceb97546994018beef678c59e7a38522ac54b0 /drivers/net/irda/sir_dev.c | |
parent | c676504ef5fe682bd343149de0e5c57bbf793ff9 (diff) |
drivers/net/irda: endianness, NULL noise
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/irda/sir_dev.c')
-rw-r--r-- | drivers/net/irda/sir_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/irda/sir_dev.c b/drivers/net/irda/sir_dev.c index bbe4e094c42..6078e03de9a 100644 --- a/drivers/net/irda/sir_dev.c +++ b/drivers/net/irda/sir_dev.c | |||
@@ -414,7 +414,7 @@ EXPORT_SYMBOL(sirdev_raw_read); | |||
414 | int sirdev_set_dtr_rts(struct sir_dev *dev, int dtr, int rts) | 414 | int sirdev_set_dtr_rts(struct sir_dev *dev, int dtr, int rts) |
415 | { | 415 | { |
416 | int ret = -ENXIO; | 416 | int ret = -ENXIO; |
417 | if (dev->drv->set_dtr_rts != 0) | 417 | if (dev->drv->set_dtr_rts) |
418 | ret = dev->drv->set_dtr_rts(dev, dtr, rts); | 418 | ret = dev->drv->set_dtr_rts(dev, dtr, rts); |
419 | return ret; | 419 | return ret; |
420 | } | 420 | } |