diff options
| author | Cesar Eduardo Barros <[email protected]> | 2011-03-22 16:33:23 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-03-22 17:44:07 -0700 |
| commit | f2090d2df51d7cdb2f952dcfdcd8baaac0aec444 (patch) | |
| tree | 474daba281f890d44ee22b23137d99cb5021f381 /tools/perf/scripts/python | |
| parent | 7de7fb6b3422e6d1dac00666a992834085e745dc (diff) | |
sys_swapon: remove bdev variable
The bdev variable is always equivalent to (S_ISBLK(inode->i_mode) ?
p->bdev : NULL), as long as it being set is moved to a bit earlier. Use
this fact to remove the bdev variable.
Signed-off-by: Cesar Eduardo Barros <[email protected]>
Tested-by: Eric B Munson <[email protected]>
Acked-by: Eric B Munson <[email protected]>
Reviewed-by: KAMEZAWA Hiroyuki <[email protected]>
Cc: Hugh Dickins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions