Skip to content

Commit 1a2f619

Browse files
t-8chmartinkpetersen
authored andcommitted
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>
1 parent 9cf351b commit 1a2f619

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

include/scsi/libsas.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,6 @@ enum discover_event {
6262

6363
/* ---------- Expander Devices ---------- */
6464

65-
#define to_dom_device(_obj) container_of(_obj, struct domain_device, dev_obj)
66-
#define to_dev_attr(_attr) container_of(_attr, struct domain_dev_attribute,\
67-
attr)
68-
6965
enum routing_attribute {
7066
DIRECT_ROUTING,
7167
SUBTRACTIVE_ROUTING,

0 commit comments

Comments
 (0)