forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
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