summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPaul Menzel <pmenzel@molgen.mpg.de>2024-12-12 23:18:12 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2025-01-02 13:44:39 -0500
commitad7c3c0cb8f61d6d5a48b83e62ca4a9fd2f26153 (patch)
tree37f52371ae1a937135f942b5a25d3a33340053ac /tools/perf/scripts/python/export-to-sqlite.py
parent09ecc187ebde77ebbfc444b2c08192024e2dc6a4 (diff)
scsi: mpt3sas: Set ioc->manu_pg11.EEDPTagMode directly to 1
Currently, the code does: if (x == 0) { x &= ~0x3; x |= 0x1; } Zeroing bits 0 and 1 of a variable that is 0 is not necessary. So directly set the variable to 1. Cc: Sreekanth Reddy <sreekanth.reddy@broadcom.com> Fixes: f92363d12359 ("[SCSI] mpt3sas: add new driver supporting 12GB SAS") Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Link: https://lore.kernel.org/r/20241212221817.78940-2-pmenzel@molgen.mpg.de Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions