Skip to content
Commit 4194b491 authored by Tobias Klauser's avatar Tobias Klauser Committed by David S. Miller
Browse files

packet: Don't check frames_per_block against negative values



rb->frames_per_block is an unsigned int, thus can never be negative.

Also fix spacing in the calculation of frames_per_block.

Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 321beec5
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