Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8594c15ad226227aaf178b7cf57f2e7291684dd4
Commit:     8594c15ad226227aaf178b7cf57f2e7291684dd4
Parent:     c19eb71020687e178b9fa564f4a8ac1880f87b10
Author:     Andre Haupt <[EMAIL PROTECTED]>
AuthorDate: Thu Aug 30 20:18:41 2007 +0000
Committer:  Steve French <[EMAIL PROTECTED]>
CommitDate: Thu Aug 30 20:18:41 2007 +0000

    [CIFS][KJ] use abs() from kernel.h where appropriate
    
    Signed-off-by: Andrew Haupt <[EMAIL PROTECTED]>
    Signed-off-by: Steve French <[EMAIL PROTECTED]>
---
 fs/cifs/cifssmb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index 8eb102f..4795143 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -513,7 +513,7 @@ CIFSSMBNegotiate(unsigned int xid, struct cifsSesInfo *ses)
                                (int)ts.tv_sec, (int)utc.tv_sec,
                                (int)(utc.tv_sec - ts.tv_sec)));
                        val = (int)(utc.tv_sec - ts.tv_sec);
-                       seconds = val < 0 ? -val : val;
+                       seconds = abs(val);
                        result = (seconds / MIN_TZ_ADJ) * MIN_TZ_ADJ;
                        remain = seconds % MIN_TZ_ADJ;
                        if (remain >= (MIN_TZ_ADJ / 2))
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to