From: Steven Rostedt Date: Wed, 15 Jun 2011 00:49:13 +0000 (-0400) Subject: ktest: Add helper function to avoid duplicate code X-Git-Tag: v3.1-rc1~227^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddf607e5f853ae172e81e6051e1e12e24ea8a3c6;p=pandora-kernel.git ktest: Add helper function to avoid duplicate code Several places had the following code: get_grub_index; get_version; install; start_monitor; return monitor; Creating a function "start_monitor_and_boot()" replaces these mulitple uses with a single call. Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed