diff options
author | David S. Miller <davem@davemloft.net> | 2009-04-09 00:52:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-09 00:52:16 +0200 |
commit | efb6c736da8f9c455c22bcbf717dbcf1889d0325 (patch) | |
tree | 7be511f9855de3c115fc0c06b94c7912d2bcd0cf /drivers/net/niu.c | |
parent | r6040: set MODULE_VERSION (diff) | |
download | linux-efb6c736da8f9c455c22bcbf717dbcf1889d0325.tar.xz linux-efb6c736da8f9c455c22bcbf717dbcf1889d0325.zip |
niu: Fix unused variable warning.
Don't strain gcc's tiny mind.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/niu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/niu.c b/drivers/net/niu.c index 2cd6109b8586..2b1745328cf7 100644 --- a/drivers/net/niu.c +++ b/drivers/net/niu.c @@ -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); |