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>
master
Thomas Weißschuh 2026-04-08 20:28:00 +02:00 committed by Martin K. Petersen
parent 9cf351b289
commit 1a2f61970a
1 changed files with 0 additions and 4 deletions

View File

@ -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,