aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorLihong Yang <[email protected]>2017-09-07 08:05:56 -0400
committerJeff Kirsher <[email protected]>2017-10-09 14:38:04 -0700
commit9bcc07f0651b3078f1c3164c710f72a558665345 (patch)
tree6e80864541c7d0237388570a9716e605b5099463 /lib/netdev-notifier-error-inject.c
parent4988410f8d3a6fa04381072e2406a1d3979ffb95 (diff)
i40e: use a local variable instead of calculating multiple times
The computed result of I40E_MAX_VSI_QP * I40E_VIRTCHNL_SUPPORTED_QTYPES is used more than three times in function i40e_config_irq_link_list. Simply declare a local variable to store it to improve readability. Signed-off-by: Lihong Yang <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions