ipwireless: Do not return value from sending funcs
authorDavid Sterba <dsterba@suse.cz>
Mon, 28 Jul 2008 14:53:05 +0000 (16:53 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Jul 2008 15:28:03 +0000 (08:28 -0700)
commit93110f698fe92fc4dfd86c78783aedf522c69eb9
tree2150a7a7614ab6149b8351a43495720b1e6caf9f
parentd54c2752f6bb6cc53359dcdf6ed4fb6e5fb6440a
ipwireless: Do not return value from sending funcs

ipwireless: Do not return value from sending funcs

Do not return value from do_send_fragment and do_send_packet, it's not used.
The packet size checks are not useful too:

* zero length packet will never be sent, caller always passes packet_header
  size which is either 1 or 3
* MTU check is done in caller, no need to repeat

Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/pcmcia/ipwireless/hardware.c