kqueue/ufs: Remove unnecessary klist cast
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 20 Dec 2015 10:26:12 +0000 (18:26 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 20 Dec 2015 10:26:12 +0000 (18:26 +0800)
sys/vfs/ufs/ufs_readwrite.c

index 99fb1a7..daab3f2 100644 (file)
@@ -46,8 +46,7 @@
 
 #include "opt_directio.h"
 
-#define VN_KNOTE(vp, b) \
-       KNOTE((struct klist *)&vp->v_pollinfo.vpi_kqinfo.ki_note, (b))
+#define VN_KNOTE(vp, b) KNOTE(&vp->v_pollinfo.vpi_kqinfo.ki_note, (b))
 
 #ifdef DIRECTIO
 extern int ffs_rawread(struct vnode *vp, struct uio *uio, int *workdone);