From: Oleg Nesterov Date: Tue, 16 Aug 2011 18:50:57 +0000 (+0200) Subject: staging: rtl8712: remove r8712_cmd_thread()->daemonize() X-Git-Tag: v3.2-rc1~169^2^2~864^2~165 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96936173fd558f7f37c84162fda8390e9d70e3e9;p=pandora-kernel.git staging: rtl8712: remove r8712_cmd_thread()->daemonize() daemonize() is only needed when a user-space task does kernel_thread(). r8712_cmd_thread() is kthread_create()'ed and thus it doesn't need the soon-to-be-deprecated daemonize(). It is the only caller of thread_enter() which actually does the call. Note: - we are going to remove the sigdelset(blocked) code from allow_signal(), this means that without this patch thread_enter() can't work after that. Not to mention daemonize() should be deprecated. - as a side effect, this patch changes ->comm. Hopefully this is fine, and padapter->pnetdev->name probably makes more sense anyway. Signed-off-by: Oleg Nesterov Acked-by: Matt Fleming Acked-by: Tejun Heo Acked-and-tested-by: Larry Finger Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed