From de59c285a4787dfc2ac4f2546ef0082ae08754e2 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Mon, 21 Jan 2013 14:37:46 -0700 Subject: [PATCH] staging: comedi: drivers (core): remove BUG_ON in comedi_auto_unconfig() comedi_find_board_minor() will always return a ninor number between 0 and < COMEDI_NUM_BOARD_MINORS, or -ENODEV if a minor is not found. Remove the unnecessary BUG_ON(). Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed