]> git.ipfire.org Git - thirdparty/linux.git/commit
net: wan/fsl_ucc_hdlc: cleanup ucc_hdlc_poll
authorTomas Alvarez Vanoli <tomas.alvarez-vanoli@hitachienergy.com>
Thu, 26 Mar 2026 10:02:32 +0000 (11:02 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sun, 29 Mar 2026 21:21:35 +0000 (14:21 -0700)
commit57ec1622b62ae8dcd88a0084c49c5b72b1850e68
tree09d9fcdf734ea6b9a42eb693b872e339d9f38ebf
parent22e49419d4fab568c74e8e9b1aeb69c187d74d1e
net: wan/fsl_ucc_hdlc: cleanup ucc_hdlc_poll

Immediately after setting to 0 we are adding to it, and subtracting 0
from budget. Replace with just assignment and no subtraction.

Signed-off-by: Tomas Alvarez Vanoli <tomas.alvarez-vanoli@hitachienergy.com>
Reviewed-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Link: https://patch.msgid.link/20260326100232.904289-1-tomas.alvarez-vanoli@hitachienergy.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/wan/fsl_ucc_hdlc.c