Commit c1c53c2
gfs2: make timeout values more explicit
'timeout' is a vague name for the return value of wait_event_*_timeout
because it actually returns the time left. Because the variable is never
used later, just drop the return value. Since variable 'timeout' is then
only used to carry a fixed timeout value, drop this in favor of a fixed
function argument as in the other call to wait_event_timeout() above.
Signed-off-by: Wolfram Sang <[email protected]>
Signed-off-by: Andreas Gruenbacher <[email protected]>1 parent 50fabd4 commit c1c53c2
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1262 | 1262 | | |
1263 | 1263 | | |
1264 | 1264 | | |
1265 | | - | |
1266 | 1265 | | |
1267 | 1266 | | |
1268 | 1267 | | |
| |||
1293 | 1292 | | |
1294 | 1293 | | |
1295 | 1294 | | |
1296 | | - | |
| 1295 | + | |
1297 | 1296 | | |
1298 | 1297 | | |
1299 | | - | |
| 1298 | + | |
1300 | 1299 | | |
1301 | 1300 | | |
1302 | 1301 | | |
| |||
0 commit comments