Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/broadcom
Michael Chan edd0c2cc2b 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>
2015-12-28 00:57:28 -05:00
..
2015-12-08 22:59:22 -05:00
2015-11-18 16:17:41 -05:00
2015-06-07 19:45:34 -07:00
2015-06-10 23:33:58 -07:00
2015-11-18 16:17:41 -05:00
2015-09-02 11:39:58 -07:00
2015-06-10 23:33:58 -07:00
2015-02-20 15:46:49 -05:00
2015-10-12 19:33:46 -07:00
2015-10-11 05:06:21 -07:00
2014-06-25 16:27:27 -07:00
2014-06-25 16:27:27 -07:00
2015-11-05 00:00:25 -05:00
2015-09-01 15:03:59 -07:00