diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2026-04-08 21:28:00 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2026-04-09 04:55:51 +0300 |
| commit | 1a2f61970a6365ca5fb1a667300348815ae81727 (patch) | |
| tree | c5fdfa341d854ce65c057f0db1206106d7b91f56 /include | |
| parent | 9cf351b289fb2be22491fa3964f99126db67aa08 (diff) | |
| download | linux-1a2f61970a6365ca5fb1a667300348815ae81727.tar.xz | |
scsi: libsas: Delete unused to_dom_device() and to_dev_attr()
These macros are unused and to_dev_attr() will conflict with an upcoming
centralization of general attribute macros.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Link: https://patch.msgid.link/20260408-libsas-cleanup-v1-1-826325bbc0ba@weissschuh.net
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/scsi/libsas.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h index e76f5744941b..163f23c92b41 100644 --- a/include/scsi/libsas.h +++ b/include/scsi/libsas.h @@ -62,10 +62,6 @@ enum discover_event { /* ---------- Expander Devices ---------- */ -#define to_dom_device(_obj) container_of(_obj, struct domain_device, dev_obj) -#define to_dev_attr(_attr) container_of(_attr, struct domain_dev_attribute,\ - attr) - enum routing_attribute { DIRECT_ROUTING, SUBTRACTIVE_ROUTING, |
