"git@git.tuxist.de:jan.koester/linux.git" did not exist on "3367fd50757459ae7490b9dfa59b60fedc283821"
bnxt_en: Optimize ring alloc and ring free functions.
Remove the unnecessary "if" statement before the "for" statement:
if (x) {
for (i = 0; i < x; i++)
...
}
Also, change the ring free function to return void as it only returns 0.
Signed-off-by:
Michael Chan <mchan@broadcom.com>
Signed-off-by:
David S. Miller <davem@davemloft.net>
Loading
Please sign in to comment