lkml.org 
[lkml]   [2023]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 02/10] scsi: libsas: Delete enum sas_class
From
Date
On 2023/8/14 22:10, John Garry wrote:
> enum sas_class prob would have been useful if function sas_show_class() was
> ever implemented, which it wasn't.
>
> enum sas_class is used as asd_sas_port.class and asd_sas_phy.class, which
> are only ever set, so delete these members and the enum.
>
> Signed-off-by: John Garry<john.g.garry@oracle.com>
> ---
> drivers/scsi/aic94xx/aic94xx_hwi.c | 1 -
> drivers/scsi/hisi_sas/hisi_sas_main.c | 1 -
> drivers/scsi/isci/phy.c | 1 -
> drivers/scsi/libsas/sas_internal.h | 1 -
> drivers/scsi/libsas/sas_port.c | 2 --
> drivers/scsi/mvsas/mv_init.c | 1 -
> drivers/scsi/pm8001/pm8001_init.c | 1 -
> include/scsi/libsas.h | 7 -------
> 8 files changed, 15 deletions(-)

Reviewed-by: Jason Yan <yanaijie@huawei.com>

\
 
 \ /
  Last update: 2023-08-15 11:33    [W:0.262 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site