Messages in this thread | | | From | Daniel Phillips <> | Subject | Re: [PATCH 5/7] dlm: device interface | Date | Mon, 25 Apr 2005 17:27:58 -0400 |
| |
On Monday 25 April 2005 12:09, Jesper Juhl wrote: > On Mon, 25 Apr 2005, David Teigland wrote: > > +/* Close on control device */ > > +static int dlm_ctl_close(struct inode *inode, struct file *file) > > +{ > > + return 0; > > +} > > return void? and what's the purpose of this function? seems silly to me to > have a function that does nothing but return 0 ever.
How about just adding "inline" calling it "documentation"?
Regards,
Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |