git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
scsi: treewide: Consolidate {get,put}_unaligned_[bl]e24() definitions
[sfrench/cifs-2.6.git]
/
include
/
target
/
target_core_backend.h
diff --git
a/include/target/target_core_backend.h
b/include/target/target_core_backend.h
index 51b6f50eabeebb20457ed848ba88353c8efbf38c..1b752d8ea529caf52502f29039cb6f2744d7dcc9 100644
(file)
--- a/
include/target/target_core_backend.h
+++ b/
include/target/target_core_backend.h
@@
-116,10
+116,4
@@
static inline bool target_dev_configured(struct se_device *se_dev)
return !!(se_dev->dev_flags & DF_CONFIGURED);
}
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 */
#endif /* TARGET_CORE_BACKEND_H */