提交 efb6c736 编写于 作者: D David S. Miller

niu: Fix unused variable warning.

Don't strain gcc's tiny mind.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 bc4de260
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册