Skip to content

Commit

Permalink
niu: Fix unused variable warning.
Browse files Browse the repository at this point in the history
Don't strain gcc's tiny mind.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Apr 8, 2009
1 parent bc4de26 commit efb6c73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/niu.c
Original file line number Diff line number Diff line change
Expand Up @@ -4834,6 +4834,7 @@ static int niu_compute_rbr_cfig_b(struct rx_ring_info *rp, u64 *ret)
{
u64 val = 0;

*ret = 0;
switch (rp->rbr_block_size) {
case 4 * 1024:
val |= (RBR_BLKSIZE_4K << RBR_CFIG_B_BLKSIZE_SHIFT);
Expand Down

0 comments on commit efb6c73

Please sign in to comment.