summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAbe Levkoy <alevkoy@chromium.org>2020-10-01 14:57:25 -0600
committerCommit Bot <commit-bot@chromium.org>2020-10-16 21:49:48 +0000
commit8915cb49ed934124e9d235a7f7cc39484b6fd758 (patch)
tree7b4f9dd9e014e346389c536c184ed973945e7404 /common
parent5e76483b7488920cfae80827b0ca1e6cc3990544 (diff)
downloadchrome-ec-8915cb49ed934124e9d235a7f7cc39484b6fd758.tar.gz
usb_pd_dpm: Remove unnecessary inline qualifier
Inline declarations inside .c files are unneeded. BUG=none TEST=make buildall BRANCH=none Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Change-Id: I0c07d6159a4919f144050509db4ac52be12b3b1e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2454537 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/usbc/usb_pd_dpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usbc/usb_pd_dpm.c b/common/usbc/usb_pd_dpm.c
index e6224efff5..87516e4390 100644
--- a/common/usbc/usb_pd_dpm.c
+++ b/common/usbc/usb_pd_dpm.c
@@ -47,7 +47,7 @@ void dpm_set_mode_exit_request(int port)
dpm[port].mode_exit_request = true;
}
-static inline void dpm_clear_mode_exit_request(int port)
+static void dpm_clear_mode_exit_request(int port)
{
dpm[port].mode_exit_request = false;
}