]> git.karo-electronics.de Git - linux-beck.git/commit
iwmc3200wifi: cleanup unneeded debugfs error handling
authorJohn W. Linville <linville@tuxdriver.com>
Mon, 3 May 2010 18:46:05 +0000 (14:46 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 3 May 2010 18:46:37 +0000 (14:46 -0400)
commit1f55c12cef6d369d76ae13d522edd1c07e667788
tree693ed1d4e7f18785765f3490697485cc182f9675
parentf5c044e53a6b319776c7140b22fee9be3bc1f758
iwmc3200wifi: cleanup unneeded debugfs error handling

"iwl: cleanup: remove unneeded error handling" missed the one in
if_sdio_debugfs_init().

I don't think we even need to check -ENODEV ourselves because if
DEBUG_FS is not compiled in, all the debugfs utility functions will
become no-op.

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Acked-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwmc3200wifi/bus.h
drivers/net/wireless/iwmc3200wifi/debug.h
drivers/net/wireless/iwmc3200wifi/debugfs.c
drivers/net/wireless/iwmc3200wifi/sdio.c