aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/basic
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2025-11-24 09:45:47 +0100
committerJakub Kicinski <kuba@kernel.org>2025-11-25 19:17:21 -0800
commit4c84a5c7b095ea52e65ace483177fce23e55fa8f (patch)
tree2f5d37ffc7174c2c216ca137435bd96430ad627e /scripts/basic
parentptp: ocp: Make ptp_ocp_unregister_ext() NULL-aware (diff)
downloadlinux-4c84a5c7b095ea52e65ace483177fce23e55fa8f.tar.gz
linux-4c84a5c7b095ea52e65ace483177fce23e55fa8f.zip
ptp: ocp: Apply standard pattern for cleaning up loop
The while (i--) is a standard pattern for the cleaning up loops. Apply this pattern where it makes sense in the driver. Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/20251124084816.205035-4-andriy.shevchenko@linux.intel.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions