Code simplification.

There should be no functional change here, just reducing
the number of lines of code by using a common idiom.

Signed-off-by: Chris Lalancette <clalancette@irobot.com>
add kernel parameter options