Commit efb6c736 authored by David S. Miller's avatar David S. Miller

niu: Fix unused variable warning.

Don't strain gcc's tiny mind.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bc4de260
...@@ -4834,6 +4834,7 @@ static int niu_compute_rbr_cfig_b(struct rx_ring_info *rp, u64 *ret) ...@@ -4834,6 +4834,7 @@ static int niu_compute_rbr_cfig_b(struct rx_ring_info *rp, u64 *ret)
{ {
u64 val = 0; u64 val = 0;
*ret = 0;
switch (rp->rbr_block_size) { switch (rp->rbr_block_size) {
case 4 * 1024: case 4 * 1024:
val |= (RBR_BLKSIZE_4K << RBR_CFIG_B_BLKSIZE_SHIFT); val |= (RBR_BLKSIZE_4K << RBR_CFIG_B_BLKSIZE_SHIFT);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment