remove char device cration code