projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d75e76
)
scsi: ufs: core: Remove check_upiu_size() from ufshcd.h
author
Keoseong Park
<keosung.park@samsung.com>
Thu, 3 Nov 2022 05:53:49 +0000
(14:53 +0900)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Tue, 8 Nov 2022 03:06:33 +0000
(
03:06
+0000)
Commit
68078d5cc1a5
("[SCSI] ufs: Set fDeviceInit flag to initiate device
initialization") added check_upiu_size(), but no caller.
Cc: Dolev Raviv <draviv@codeaurora.org>
Link:
https://lore.kernel.org/r/20221103055349epcms2p338f2550c2dd78d00231a83b24719a3d4@epcms2p3
Signed-off-by: Keoseong Park <keosung.park@samsung.com>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
include/ufs/ufshcd.h
patch
|
blob
|
blame
|
history
diff --git
a/include/ufs/ufshcd.h
b/include/ufs/ufshcd.h
index 96538eb3a6c010b9e09cc7d9de217e66f1b369f1..5cf81dff60aa07ce077dabf6d60a27d57d283ea8 100644
(file)
--- a/
include/ufs/ufshcd.h
+++ b/
include/ufs/ufshcd.h
@@
-1072,12
+1072,6
@@
void ufshcd_update_evt_hist(struct ufs_hba *hba, u32 id, u32 val);
void ufshcd_hba_stop(struct ufs_hba *hba);
void ufshcd_schedule_eh_work(struct ufs_hba *hba);
-static inline void check_upiu_size(void)
-{
- BUILD_BUG_ON(ALIGNED_UPIU_SIZE <
- GENERAL_UPIU_REQUEST_SIZE + QUERY_DESC_MAX_SIZE);
-}
-
/**
* ufshcd_set_variant - set variant specific data to the hba
* @hba: per adapter instance