diff options
author | Ewan D. Milne <emilne@redhat.com> | 2020-05-04 20:54:16 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-05-12 02:42:36 +0300 |
commit | fb9024b0646939e59d8a0b6799b317070619795a (patch) | |
tree | f9ce6eb0209e92add4618851fe77414e78f3ce49 /drivers/scsi/scsi_pm.c | |
parent | b36522150e5b85045f868768d46fbaaa034174b2 (diff) | |
download | linux-fb9024b0646939e59d8a0b6799b317070619795a.tar.xz |
scsi: qla2xxx: Do not log message when reading port speed via sysfs
Calling ql_log() inside qla2x00_port_speed_show() is causing messages to be
output to the console for no particularly good reason. The sysfs read
routine should just return the information to userspace. The only reason
to log a message is when the port speed actually changes, and this already
occurs elsewhere.
Link: https://lore.kernel.org/r/20200504175416.15417-1-emilne@redhat.com
Fixes: 4910b524ac9e ("scsi: qla2xxx: Add support for setting port speed")
Cc: <stable@vger.kernel.org> # v5.1+
Reviewed-by: Lee Duncan <lduncan@suse.com>
Reviewed-by: Laurence Oberman <loberman@redhat.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_pm.c')
0 files changed, 0 insertions, 0 deletions