i7core_edac: it is safe to i7core_unregister_mci() when mci=NULL
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 Aug 2010 18:39:38 +0000 (15:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 24 Oct 2010 13:20:41 +0000 (11:20 -0200)
commit88ef5ea9767b0c7bfb4b477e1857629fe8fa2983
tree77acb64879c9ce62f9e7fc77b33cb0d3639c8cef
parent6d37d240f2ff411c4d58bbbddefbda73a227d40c
i7core_edac: it is safe to i7core_unregister_mci() when mci=NULL

i7core_unregister_mci() checks internally when mci=NULL. There's no
need to test it outside.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i7core_edac.c