Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

niu: Fix unused variable warning.



Don't strain gcc's tiny mind.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bc4de260
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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);