]> git.baikalelectronics.ru Git - kernel.git/commit
[IRDA] irda-usb: use NULL instead of 0
authorRandy Dunlap <rdunlap@xenotime.net>
Sun, 7 May 2006 01:34:10 +0000 (18:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 May 2006 01:34:10 +0000 (18:34 -0700)
commit5d672f58ac5bcc2b3c274305b93b2d10fb50798f
tree710c9b897f46c07b855aaa51611ad2e7f9a74908
parent2359d939f79b532d915a539459bf880f01ea9494
[IRDA] irda-usb: use NULL instead of 0

Use NULL instead of 0 for a null pointer value (sparse warning):

drivers/net/irda/irda-usb.c:1781:30: warning: Using plain integer as NULL pointer

Also, correct timeout argument to use milliseconds instead of jiffies.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/irda/irda-usb.c