hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/drivers/scsi/isci/remote_device.h
....@@ -295,11 +295,6 @@
295295 return idev;
296296 }
297297
298
-static inline bool dev_is_expander(struct domain_device *dev)
299
-{
300
- return dev->dev_type == SAS_EDGE_EXPANDER_DEVICE || dev->dev_type == SAS_FANOUT_EXPANDER_DEVICE;
301
-}
302
-
303298 static inline void sci_remote_device_decrement_request_count(struct isci_remote_device *idev)
304299 {
305300 /* XXX delete this voodoo when converting to the top-level device