[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnumach] 35/56: remove lint code
From: |
Samuel Thibault |
Subject: |
[gnumach] 35/56: remove lint code |
Date: |
Sat, 28 Sep 2013 12:43:17 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch master
in repository gnumach.
commit 364aca401a5643267bdf895aa4ce48f1b14f9d9f
Author: Marin Ramesa <address@hidden>
Date: Tue Sep 17 19:35:04 2013 +0200
remove lint code
* device/ds_routines.c [lint]: Remove ifdefs and associated code.
---
device/ds_routines.c | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/device/ds_routines.c b/device/ds_routines.c
index 73571dc..028e700 100644
--- a/device/ds_routines.c
+++ b/device/ds_routines.c
@@ -1080,11 +1080,6 @@ device_read(device, reply_port, reply_port_type, mode,
recnum,
io_req_t ior;
io_return_t result;
-#ifdef lint
- *data = *data;
- *data_count = *data_count;
-#endif /* lint */
-
if (device->state != DEV_STATE_OPEN)
return (D_NO_SUCH_DEVICE);
@@ -1162,11 +1157,6 @@ device_read_inband(device, reply_port, reply_port_type,
mode, recnum,
io_req_t ior;
io_return_t result;
-#ifdef lint
- *data = *data;
- *data_count = *data_count;
-#endif /* lint */
-
if (device->state != DEV_STATE_OPEN)
return (D_NO_SUCH_DEVICE);
@@ -1426,9 +1416,6 @@ device_map(device, protection, offset, size, pager, unmap)
ipc_port_t *pager; /* out */
boolean_t unmap; /* ? */
{
-#ifdef lint
- unmap = unmap;
-#endif /* lint */
if (protection & ~VM_PROT_ALL)
return (KERN_INVALID_ARGUMENT);
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/gnumach.git
- [gnumach] 19/56: drop unused CONSMAJOR, (continued)
- [gnumach] 19/56: drop unused CONSMAJOR, Samuel Thibault, 2013/09/28
- [gnumach] 31/56: remove register qualifiers, Samuel Thibault, 2013/09/28
- [gnumach] 29/56: use boolean_t instead of an int, Samuel Thibault, 2013/09/28
- [gnumach] 11/56: vm: organize vm print function prototypes, Samuel Thibault, 2013/09/28
- [gnumach] 10/56: ddb: cleanup db_command.c, Samuel Thibault, 2013/09/28
- [gnumach] 24/56: remove definition of NDEVICES, Samuel Thibault, 2013/09/28
- [gnumach] 16/56: Drop useless forward declaration, Samuel Thibault, 2013/09/28
- [gnumach] 18/56: Remove register qualifiers, Samuel Thibault, 2013/09/28
- [gnumach] 13/56: kern: add missing prototype, Samuel Thibault, 2013/09/28
- [gnumach] 15/56: Drop luna88k bits, Samuel Thibault, 2013/09/28
- [gnumach] 35/56: remove lint code,
Samuel Thibault <=
- [gnumach] 12/56: ipc: organize ipc print function prototypes, Samuel Thibault, 2013/09/28
- [gnumach] 37/56: device: remove unused file dk_label.c, Samuel Thibault, 2013/09/28
- [gnumach] 32/56: Coding style trivial fixes, Samuel Thibault, 2013/09/28
- [gnumach] 17/56: Add const qualifiers., Samuel Thibault, 2013/09/28
- [gnumach] 36/56: add comments after endifs, Samuel Thibault, 2013/09/28
- [gnumach] 34/56: remove register qualifiers, Samuel Thibault, 2013/09/28
- [gnumach] 33/56: remove lint code, Samuel Thibault, 2013/09/28
- [gnumach] 30/56: another small change in style for consistency, Samuel Thibault, 2013/09/28
- [gnumach] 27/56: another small change in style for consistency, Samuel Thibault, 2013/09/28
- [gnumach] 25/56: remove register qualifiers, Samuel Thibault, 2013/09/28