lkml.org 
[lkml]   [2010]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH v4 2/2] Bluetooth: hidp: Add support for hidraw HIDIOCGFEATURE and HIDIOCSFEATURE
    Date

    On Sep 23, 2010, at 7:51 AM, Ville Tervo wrote:

    > Hi Alan,
    >
    > One comment.
    >
    > How about a variable called ret and using that to return len or
    > errno? It
    > would eliminate code dublication.
    >

    Hi Ville,

    Where specifically? In which function? I've gone through it a couple
    of times and failed to find return statements which are superfluous.
    Maybe I'm missing something fundamental?

    Alan.




    \
     
     \ /
      Last update: 2010-09-27 20:09    [W:4.454 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site