You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/01/26 20:01:17 UTC

[GitHub] [incubator-nuttx] acassis commented on a change in pull request #5347: register_driver: fix driver modes accross the code

acassis commented on a change in pull request #5347:
URL: https://github.com/apache/incubator-nuttx/pull/5347#discussion_r793001727



##########
File path: drivers/analog/dac.c
##########
@@ -224,16 +222,6 @@ static int dac_close(FAR struct file *filep)
   return ret;
 }
 
-/****************************************************************************
- * Name: dac_read
- ****************************************************************************/
-
-static ssize_t dac_read(FAR struct file *filep, FAR char *buffer,
-                        size_t buflen)
-{
-  return 0;
-}
-

Review comment:
       Good finding! I think a users will not read from DAC device! :-)




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org