Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Thomas Weißschuh and committed by
Martin K. Petersen
1a2f6197 9cf351b2

-4
-4
include/scsi/libsas.h
··· 62 62 63 63 /* ---------- Expander Devices ---------- */ 64 64 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 - 69 65 enum routing_attribute { 70 66 DIRECT_ROUTING, 71 67 SUBTRACTIVE_ROUTING,