]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
greybus: remove redundant latency-tag sanity checks
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 25 May 2016 20:18:15 +0000 (22:18 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 27 May 2016 05:34:29 +0000 (22:34 -0700)
commitbae7c690354b585d98ae15bd8b1b7b0ba2bb3c42
treea7de690f1c21f51f13c09a7852fda40b9efd685b
parentae36e81ed93e9fecfede1cc3dde48cfea3a8c908
greybus: remove redundant latency-tag sanity checks

Core will never call host-device callbacks with invalid arguments (and
that would still need to be verified in bridge firmware anyway), so
remove the redundant and insufficient sanity check from the callbacks.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/es2.c