chardev: remove unused 'sioc' variable & cleanup paths