tg3: Reduce indent level of tg3_rx_prodring_alloc
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 17 Feb 2010 15:17:00 +0000 (15:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2010 01:27:38 +0000 (17:27 -0800)
commit0d86df808886d4e56c46a9c356dfb81146e3b6d1
treede3d30376cffd0a27c666c9c88516ca4692ba677
parent144170635b543ceadfe6ba907ac496b40795764e
tg3: Reduce indent level of tg3_rx_prodring_alloc

This patch adds an inverted "jumbo ring enable" test and jumps to the exit
if it succeeds.  The change reduces the indent level of the remaining
code making it more readable.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c