S2IO: Checking for the return value of pci map function
authorVeena Parat <Veena.Parat@neterion.com>
Mon, 23 Jul 2007 06:37:14 +0000 (02:37 -0400)
committerJeff Garzik <jeff@garzik.org>
Mon, 30 Jul 2007 19:56:04 +0000 (15:56 -0400)
commit491abf2537a01bef52bffc67001f59cce1fd0047
treeca8cff9731bf7808b0a0fb17b17dd78fd297813e
parenteccb8628ab97f5b43e04425e983db1495fc0ef32
S2IO: Checking for the return value of pci map function

 - Checking for the return value of pci map function
 - Implemented Francois Romieu's comments on eliminating code duplication
   using goto
 - Implemented Francois Romieu's comments on using a temporary variable for
   accessing statistics structure

Signed-off-by: Veena Parat <veena.parat@neterion.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/s2io.c
drivers/net/s2io.h