]> git.openfabrics.org - ~emulex/infiniband.git/commit
staging: ath6kl: cleanup in SEND_FRAME ioctl
authorDan Carpenter <error27@gmail.com>
Sun, 20 Feb 2011 12:49:08 +0000 (15:49 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Feb 2011 22:00:08 +0000 (14:00 -0800)
commit253804a25b45aad7bf4f63483f7c7b1d14ab49e2
tree674857b59d1274431d04b5bd41c15bfaf98ffd69
parent108160db3fb0479edf89d1b74b267360d8a5fa65
staging: ath6kl: cleanup in SEND_FRAME ioctl

The original code was written in a funny way where every statement was
part of else if blocks.  I broke them up into separate statements by
adding breaks on failure conditions.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Vipin Mehta <vipin.mehta@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ath6kl/os/linux/ioctl.c