From ab6cdcb4261e0d697292a516452904bc6c7e8404 Mon Sep 17 00:00:00 2001 From: Daeseok Youn Date: Fri, 11 Jul 2014 19:22:39 +0900 Subject: [PATCH] staging: dgap: removes redundant null check and change the paramter for dgap_param() The dgap_param() has a paramter which is tty_struct and use variables in that struct. That variables which are "ch", "bd", "bs" and "un" do not need to check NULL so these statements are removed. And also change the parameter of this function because it is possible to let someone know what paramters are needed for this function. Signed-off-by: Daeseok Youn Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed