From: Christian Engelmayer Date: Sat, 26 Apr 2014 14:04:29 +0000 (+0200) Subject: staging: comedi: remove duplicate pointer assignments in attach functions X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~1095 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d57261c96cf37949b87d9d239afb3734846d78e;p=pandora-kernel.git staging: comedi: remove duplicate pointer assignments in attach functions Some board pointer are assigned twice via comedi_board() in the comedi low level driver attach functions. Remove the duplicate assignment from the variable definition where the pointer is not used anyway until assigned later in the function when dev->board_ptr, that comedi_board() relies on, is setup correctly. Signed-off-by: Christian Engelmayer Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed