ver_linux: Move stderr redirection from function parameter to function body
authorAlexander Kapshuk <alexander.kapshuk@gmail.com>
Sat, 12 May 2018 09:02:30 +0000 (12:02 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 14:36:39 +0000 (16:36 +0200)
commit4169bc43dbdd6c08436a7d794844b1f09a6367ae
tree4ad6506a722143d8881a9caaae68f9256af67e52
parent0eca353e7ae75a56d5a10cd1c0ff1f06d89e60e3
ver_linux: Move stderr redirection from function parameter to function body

Remove stderr redirection to stdout from all the parameters to the
version() function, and put it with the body of the version() function
instead.
This improves code readability.

Signed-off-by: Alexander Kapshuk <alexander.kapshuk@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/ver_linux