aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2013-06-20 17:50:13 +0200
committerIngo Molnar <[email protected]>2013-06-20 17:58:55 +0200
commit7ab71f3244e9f970c29566c5a67e13d1fa38c387 (patch)
treea6bbb7e9893dc54edcf445c5a2fc75d5e27b2550 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parente1ebe86203e6532eb5a0ae8f26ccae47aca548ae (diff)
hw_breakpoint: Simplify the "weight" usage in toggle_bp_slot() paths
Change toggle_bp_slot() to make "weight" negative if !enable. This way we can always use "+ weight" without additional "if (enable)" check and toggle_bp_task_slot() no longer needs this arg. Reported-by: Vince Weaver <[email protected]> Signed-off-by: Oleg Nesterov <[email protected]> Acked-by: Frederic Weisbecker <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions