remove unused misc device global variable