projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc596cb
)
engines/sg: kill dead function
author
Jens Axboe
<axboe@kernel.dk>
Sun, 24 Feb 2019 15:13:39 +0000
(08:13 -0700)
committer
Jens Axboe
<axboe@kernel.dk>
Sun, 24 Feb 2019 15:13:39 +0000
(08:13 -0700)
This makes clang error out.
Fixes:
bc596cbcdbb5
("t/zbd: Add multi-job libaio test")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/sg.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/sg.c
b/engines/sg.c
index d681ac936dc3c5d83867f099bb77031b484e0161..bf437c8d6f2c3fbba3d51d8ce7e3a4b0a834c6a3 100644
(file)
--- a/
engines/sg.c
+++ b/
engines/sg.c
@@
-157,11
+157,6
@@
struct sgio_data {
#endif
};
-static inline uint16_t sgio_get_be16(uint8_t *buf)
-{
- return be16_to_cpu(*((uint16_t *) buf));
-}
-
static inline uint32_t sgio_get_be32(uint8_t *buf)
{
return be32_to_cpu(*((uint32_t *) buf));