]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/scsi/libsas.h
Merge branch 'next' into for-linus
[linux.git] / include / scsi / libsas.h
index e9664bb7d1885678495b4b7520e588f6b7aa0958..4e2d61e8fb1ed6e1b9dbad130522de8e2542b9b0 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * SAS host prototypes and structures header file
  *
@@ -207,8 +207,7 @@ struct sas_work {
        struct work_struct work;
 };
 
-/* Lots of code duplicates this in the SCSI tree, which can be factored out */
-static inline bool sas_dev_type_is_expander(enum sas_device_type type)
+static inline bool dev_is_expander(enum sas_device_type type)
 {
        return type == SAS_EDGE_EXPANDER_DEVICE ||
               type == SAS_FANOUT_EXPANDER_DEVICE;