diff options
author | Tudor Ambarus <tudor.ambarus@linaro.org> | 2024-08-02 14:04:28 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-08-07 12:40:59 +0200 |
commit | a59d8cc9292c58bccec7d8fa27eb59d0a3a6aa0d (patch) | |
tree | 63ee9460cfceb3763a9d257d2ee12cde46713945 /lib/crypto/mpi/mpi-internal.h | |
parent | 382b6eabb0316b7334d97afbdcf33a4e20b0ecd8 (diff) |
usb: gadget: f_fs: pull out f->disable() from ffs_func_set_alt()
The ``alt`` parameter was used as a way to differentiate between
f->disable() and f->set_alt(). As the code paths diverge quite a bit,
pull out the f->disable() code from ffs_func_set_alt(), everything will
become clearer and less error prone. No change in functionality
intended.
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Link: https://lore.kernel.org/r/20240802140428.2000312-3-tudor.ambarus@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/crypto/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions