diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-02-11 13:04:34 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-02-11 14:25:36 -0800 |
commit | c318c7ac49f9139f55da619bbace6137e1509390 (patch) | |
tree | 6fbf4eb351b25d1e2d8dad01568b60f49c514366 /lib/crc-ccitt.c | |
parent | b4870bc5ee8c7a37541a3eb1208b5c76c13a078a (diff) |
rtc: t reaches -1, tested 0
With a postfix decrement t will reach -1 rather than 0, so neither the
warning nor the `goto error_out' will occur.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/crc-ccitt.c')
0 files changed, 0 insertions, 0 deletions