WARNING: braces {} are not necessary for single statement blocks #43: FILE: drivers/ptp/ptp_clock.c:416: + if (!ptp->is_virtual_clock) { device_for_each_child(&ptp->dev, NULL, unregister_vclock); } total: 0 errors, 1 warnings, 0 checks, 56 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit 69cefdf08974 ("ptp: remove unnecessary mutex lock in ptp_clock_unregister()") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 1 warnings, 0 checks, 56 lines checked