diff options
| author | James Simmons <[email protected]> | 2016-10-27 18:11:35 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-10-30 10:56:14 -0400 |
| commit | 371bebb4f7dea2f581491b5fa850cd3012cd358d (patch) | |
| tree | eb4ff36b3134842fe1567eba44624aa560f42ff8 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | bdc065666a591fddc4e55cbdcd6c7b02f289b5ff (diff) | |
staging: lustre: osc: remove handling cl_avail_grant less than zero
Earlier cl_avail_grant was changed to an unsigned int. Juila
Lawall reported for the upstream client the following which
affects the Intel branch as well:
drivers/staging/lustre/lustre/osc/osc_request.c:1045:5-24: WARNING: Unsigned
expression compared with zero: cli -> cl_avail_grant < 0
Since cl_avail_grant can never be negative we can remove the
code handling the negative value case.
Signed-off-by: James Simmons <[email protected]>
Intel-bug-id: LU-8697 https://jira.hpdd.intel.com/browse/LU-6303
Reviewed-on: http://review.whamcloud.com/23155
Reviewed-by: Fan Yong <[email protected]>
Reviewed-by: Frank Zago <[email protected]>
Reviewed-by: John L. Hammond <[email protected]>
Reviewed-by: Dmitry Eremin <[email protected]>
Reviewed-by: Oleg Drokin <[email protected]>
Signed-off-by: James Simmons <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions