From 83d24f82293eaa32f0f5679c743d9168cd74cad8 Mon Sep 17 00:00:00 2001 From: Daeseok Youn Date: Sat, 9 Aug 2014 14:36:44 +0900 Subject: [PATCH] staging: dgap: remove useless variable dgap_major_serial_registered and dgap_major_transparent_print_registered could be checked whether a board is initialized. But it doesn't need to check that variables becasue dgap module isn't calling the dgap_cleanup_tty() without initializing for a board completely. Signed-off-by: Daeseok Youn Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed