• Jamie Lenehan's avatar
    [PATCH] dc395x [1/5] - formatting cleanups · ba44f971
    Jamie Lenehan authored
    Formatting cleanups.
    - Remove lots of comments that were out-of-date, wrong, or now
      described things that had been simplified that much that the
      comments were no longer needed.
    - Move the "static" definition from a line before functions onto the
      same line as the function itself.
    - Remove "return;" from the end of void functions.
    - Remove braces from around single instructions.
    - Merge the declaration and assignment to variables in places where
      the followed each other.
    - Remove braces from around single statement that obviously didn't
      need them.
    - Remove unused code and variables.
    - Fix debug statement in disconnect to not deref potentially null
      ptr.
    - Change a lot of short comments that take up three lines down to one
      line.
    ba44f971
dc395x.c 155 KB