diff options
author | Kiyoshi Ueda <k-ueda@ct.jp.nec.com> | 2008-10-21 17:45:07 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2008-10-21 17:45:07 +0100 |
commit | f431d9666fd6e69fbaf305cebc7278d1428950c2 (patch) | |
tree | ebd0e7c5deb3e6782f0de657223d071bc11b1983 /drivers/infiniband/ulp/ipoib/ipoib_vlan.c | |
parent | 1f965b19437017cea6d3f3f46acdc5acae5fd011 (diff) |
dm: remove unused flush_all
This patch removes the DM_WQ_FLUSH_ALL state that is unnecessary.
The dm_queue_flush(md, DM_WQ_FLUSH_ALL, NULL) in dm_suspend()
is never invoked because:
- 'goto flush_and_out' is the same as 'goto out' because
the 'goto flush_and_out' is called only when '!noflush'
- If r is non-zero, then the code above will invoke 'goto out'
and skip this code.
No functional change.
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib_vlan.c')
0 files changed, 0 insertions, 0 deletions