scsi: treewide: Consolidate {get,put}_unaligned_[bl]e24() definitions
[sfrench/cifs-2.6.git] / include / target / target_core_backend.h
index 51b6f50eabeebb20457ed848ba88353c8efbf38c..1b752d8ea529caf52502f29039cb6f2744d7dcc9 100644 (file)
@@ -116,10 +116,4 @@ static inline bool target_dev_configured(struct se_device *se_dev)
        return !!(se_dev->dev_flags & DF_CONFIGURED);
 }
 
-/* Only use get_unaligned_be24() if reading p - 1 is allowed. */
-static inline uint32_t get_unaligned_be24(const uint8_t *const p)
-{
-       return get_unaligned_be32(p - 1) & 0xffffffU;
-}
-
 #endif /* TARGET_CORE_BACKEND_H */