Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235913
b: refs/heads/master
c: bcd2d92
h: refs/heads/master
i:
  235911: d45818b
v: v3
  • Loading branch information
Marek Belisko authored and Greg Kroah-Hartman committed Feb 9, 2011
1 parent 4bad4c3 commit 805658a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 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: 677aaa430669861f39bd43c02bdbc2e8f7f7ad2c
refs/heads/master: bcd2d92e62254320d012c8e879d651eeaa350661
7 changes: 0 additions & 7 deletions trunk/drivers/staging/ft1000/ft1000-usb/ft1000_download.c
Original file line number Diff line number Diff line change
Expand Up @@ -644,16 +644,9 @@ static u32 write_blk_fifo(struct ft1000_device *ft1000dev, u16 **pUsFile,
{
u32 Status = STATUS_SUCCESS;
int byte_length;
long aligncnt;

byte_length = word_length * 4;

if (byte_length % 4)
aligncnt = 4 - (byte_length % 4);
else
aligncnt = 0;
byte_length += aligncnt;

if (byte_length && ((byte_length % 64) == 0))
byte_length += 4;

Expand Down

0 comments on commit 805658a

Please sign in to comment.