Documentation-getdelays: Apply a recommendation from "checkpatch.pl" in main()
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 24 Dec 2015 10:05:32 +0000 (11:05 +0100)
committerJonathan Corbet <corbet@lwn.net>
Thu, 24 Dec 2015 14:22:32 +0000 (07:22 -0700)
commit563c17cb20831d818fb27eedb7b3e883cd756135
treeb67d6e5e3343e1164c517d4f551bbbeea41aaebb
parentb6e14040c8bd22cd70cf1fe0d70d382413012a4a
Documentation-getdelays: Apply a recommendation from "checkpatch.pl" in main()

The script "checkpatch.pl" pointed out that assignments should usually
not be performed within condition checks.
Thus move the assignment for the variable "nl_sd" to a separate statement.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/accounting/getdelays.c