Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22739
b: refs/heads/master
c: 62f09c3
h: refs/heads/master
i:
  22737: 0f038cb
  22735: a1e0d00
v: v3
  • Loading branch information
Clemens Ladisch authored and Jaroslav Kysela committed Mar 22, 2006
1 parent d7c33a8 commit fdfae0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 62c5549ee246fa30606f918f97c6b3cde2831292
refs/heads/master: 62f09c3d321c82981ae3f2dd7e32bc4c73379a7e
6 changes: 3 additions & 3 deletions trunk/sound/usb/usbmidi.c
Original file line number Diff line number Diff line change
Expand Up @@ -871,10 +871,10 @@ static int snd_usbmidi_in_endpoint_create(struct snd_usb_midi* umidi,

static unsigned int snd_usbmidi_count_bits(unsigned int x)
{
unsigned int bits = 0;
unsigned int bits;

for (; x; x >>= 1)
bits += x & 1;
for (bits = 0; x; ++bits)
x &= x - 1;
return bits;
}

Expand Down

0 comments on commit fdfae0c

Please sign in to comment.