]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scsi: ufs: core: Inline two functions related to UIC commands
authorBart Van Assche <bvanassche@acm.org>
Tue, 19 May 2026 21:21:27 +0000 (14:21 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 23 May 2026 01:40:39 +0000 (21:40 -0400)
commit727e78887e62e16be30ec7ecf62017f0a86d53bd
treeeca98dcb5430d43292894587240dc290b58917c7
parentc1f7275b613b5bb140efe22071167ed6c68c9a05
scsi: ufs: core: Inline two functions related to UIC commands

The implementation of the two functions ufshcd_get_uic_cmd_result() and
ufshcd_get_dme_attr_val() is very short. Additionally, both functions
only have one caller. Inline both functions to make the code shorter.

Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20260519212135.3130556-2-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c