linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: maximilian attems <janitor@sternwelten.at>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: Margit Schubert-While <margitsw@t-online.de>,
	Nishanth Aravamudan <nacc@us.ibm.com>,
	hvr@gnu.org, mcgrof@studorgs.rutgers.edu,
	kernel-janitors@lists.osdl.org, netdev@oss.sgi.com,
	Domen Puncer <domen@coderock.org>,
	linux-kernel@vger.kernel.org
Subject: [patch 2/6] libata remove duplicate definition msecs_to_jiffies()
Date: Sun, 31 Oct 2004 15:44:42 +0100	[thread overview]
Message-ID: <20041031144442.GC28667@stro.at> (raw)
In-Reply-To: <41841886.2080609@pobox.com>



remove duplicate definition of msecs_to_jiffies().
already includes delay.h

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>


---

 linux-2.4.28-rc1-max/include/linux/libata.h |    5 -----
 1 files changed, 5 deletions(-)

diff -puN include/linux/libata.h~remove-msecs_to_jiffies-libata.h include/linux/libata.h
--- linux-2.4.28-rc1/include/linux/libata.h~remove-msecs_to_jiffies-libata.h	2004-10-31 13:33:52.000000000 +0100
+++ linux-2.4.28-rc1-max/include/linux/libata.h	2004-10-31 13:36:16.000000000 +0100
@@ -419,11 +419,6 @@ extern int ata_std_bios_param(Disk * dis
 extern void libata_msleep(unsigned long msecs);
 
 
-static inline unsigned long msecs_to_jiffies(unsigned long msecs)
-{
-	return ((HZ * msecs + 999) / 1000);
-}
-
 static inline unsigned int ata_tag_valid(unsigned int tag)
 {
 	return (tag < ATA_MAX_QUEUE) ? 1 : 0;
_

  parent reply	other threads:[~2004-10-31 14:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20040923221303.GB13244@us.ibm.com>
     [not found] ` <5.1.0.14.2.20040924074745.00b1cd40@pop.t-online.de>
     [not found]   ` <415CD9D9.2000607@pobox.com>
2004-10-30 22:22     ` [patch 2.4] back port msleep(), msleep_interruptible() maximilian attems
2004-10-30 22:41       ` Jeff Garzik
2004-10-30 22:59         ` [KJ] " Nish Aravamudan
2004-10-30 23:19           ` maximilian attems
2004-10-31 14:43         ` maximilian attems
2004-10-31 14:44         ` [patch 1/6] " maximilian attems
2004-10-31 14:44         ` maximilian attems [this message]
2004-10-31 14:44         ` [patch 3/6] sx8 remove duplicate definition msleep(), msecs_to_jiffies() maximilian attems
2004-10-31 14:45         ` [patch 4/6] char/shwdt remove duplicate msecs_to_jiffies() maximilian attems
2004-10-31 14:45         ` [patch 5/6] sata_promise remove duplicate msleep() definition maximilian attems
2004-10-31 14:45         ` [patch 6/6] libata remove msleep_libata() maximilian attems

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041031144442.GC28667@stro.at \
    --to=janitor@sternwelten.at \
    --cc=domen@coderock.org \
    --cc=hvr@gnu.org \
    --cc=jgarzik@pobox.com \
    --cc=kernel-janitors@lists.osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=margitsw@t-online.de \
    --cc=mcgrof@studorgs.rutgers.edu \
    --cc=nacc@us.ibm.com \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).