diff options
-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) | |||
4834 | { | 4834 | { |
4835 | u64 val = 0; | 4835 | u64 val = 0; |
4836 | 4836 | ||
4837 | *ret = 0; | ||
4837 | switch (rp->rbr_block_size) { | 4838 | switch (rp->rbr_block_size) { |
4838 | case 4 * 1024: | 4839 | case 4 * 1024: |
4839 | val |= (RBR_BLKSIZE_4K << RBR_CFIG_B_BLKSIZE_SHIFT); | 4840 | val |= (RBR_BLKSIZE_4K << RBR_CFIG_B_BLKSIZE_SHIFT); |