From 1d57261c96cf37949b87d9d239afb3734846d78e Mon Sep 17 00:00:00 2001 From: Christian Engelmayer Date: Sat, 26 Apr 2014 16:04:29 +0200 Subject: [PATCH] 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-format-patch failed