1. 13 4月, 2011 1 次提交
  2. 17 2月, 2011 1 次提交
  3. 12 2月, 2011 1 次提交
  4. 08 2月, 2011 1 次提交
    • R
      Bluetooth: ath3k: Avoid duplication of code · 84f0e17f
      Rogério Brito 提交于
      In commit 86e09287, to reduce memory
      usage, the functions of the ath3k module were rewritten to release the
      firmware blob after it has been loaded (successfully or not).
      
      The resuting code has some redundancy and the compiler can potentially
      produce better code if we omit a function call that is unconditionally
      executed in
      
      ,----
      |     if (ath3k_load_firmware(udev, firmware)) {
      |             release_firmware(firmware);
      |             return -EIO;
      |     }
      |     release_firmware(firmware);
      |
      |     return 0;
      | }
      `----
      
      It may also be argued that the rewritten code becomes easier to read,
      and also to see the code coverage of the snippet in question.
      Signed-off-by: NRogério Brito <rbrito@ime.usp.br>
      Cc: Alexander Holler <holler@ahsoftware.de>
      Cc: "Gustavo F. Padovan" <padovan@profusion.mobi>
      Cc: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
      Signed-off-by: NGustavo F. Padovan <padovan@profusion.mobi>
      84f0e17f
  5. 27 1月, 2011 1 次提交
  6. 20 1月, 2011 1 次提交
  7. 02 12月, 2010 1 次提交
  8. 27 2月, 2010 1 次提交
  9. 30 1月, 2010 1 次提交