예제 #1
0
파일: ipath_diag.c 프로젝트: ivucica/linux
void ipath_diag_remove(struct ipath_devdata *dd)
{
	if (atomic_dec_and_test(&diagpkt_count))
		ipath_cdev_cleanup(&diagpkt_cdev, &diagpkt_class_dev);

	ipath_cdev_cleanup(&dd->diag_cdev, &dd->diag_class_dev);
}
예제 #2
0
void ipath_diag_remove(struct ipath_devdata *dd)
{
	ipath_cdev_cleanup(&dd->diag_cdev, &dd->diag_class_dev);
}