remove unused basename logic, avoid dereference of possibly NULL variable
This patch removes unreachable, useless code. Signed-off-by: Petr Sabata <contyk@redhat.com>
The controller is the only module using this at the moment. Thomas has a sample user of genetlink that would fit here; bug him for it. Signed-off-by: Stephen Hemminger <shemminger@osdl.org>