Index: uspace/lib/net/il/ip_remote.c
===================================================================
--- uspace/lib/net/il/ip_remote.c	(revision 95e3fd0b7dee8dfaf32b71fba9abb8cf68ce0dea)
+++ uspace/lib/net/il/ip_remote.c	(revision 768ea9efd548e409117c55f9278a127ac05e191a)
@@ -57,10 +57,9 @@
  * The target network is routed using this device.
  *
- * @param[in] ip_phone  The IP module phone used for (semi)remote calls.
- * @param[in] device_id The device identifier.
- * @param[in] address   The target network address.
- * @param[in] netmask   The target network mask.
- * @param[in] gateway   The target network gateway. Not used if zero.
- *
+ * @param[in] ip_phone	The IP module phone used for (semi)remote calls.
+ * @param[in] device_id	The device identifier.
+ * @param[in] address	The target network address.
+ * @param[in] netmask	The target network mask.
+ * @param[in] gateway	The target network gateway. Not used if zero.
  */
 int ip_add_route_req_remote(int ip_phone, device_id_t device_id,
@@ -106,17 +105,16 @@
  * If the device uses ARP registers also the new ARP device.
  *
- * @param[in] ip_phone  The IP module phone used for (semi)remote calls.
- * @param[in] device_id The new device identifier.
- * @param[in] netif     The underlying device network interface layer service.
- *
- * @return EOK on success.
- * @return ENOMEM if there is not enough memory left.
- * @return EINVAL if the device configuration is invalid.
- * @return ENOTSUP if the device uses IPv6.
- * @return ENOTSUP if the device uses DHCP.
- * @return Other error codes as defined for the net_get_device_conf_req()
- *         function.
- * @return Other error codes as defined for the arp_device_req() function.
- *
+ * @param[in] ip_phone	The IP module phone used for (semi)remote calls.
+ * @param[in] device_id	The new device identifier.
+ * @param[in] netif	The underlying device network interface layer service.
+ * @return		EOK on success.
+ * @return		ENOMEM if there is not enough memory left.
+ * @return		EINVAL if the device configuration is invalid.
+ * @return		ENOTSUP if the device uses IPv6.
+ * @return		ENOTSUP if the device uses DHCP.
+ * @return		Other error codes as defined for the
+ *			net_get_device_conf_req() function.
+ * @return		Other error codes as defined for the arp_device_req()
+ *			function.
  */
 int ip_device_req_remote(int ip_phone, device_id_t device_id,
@@ -130,11 +128,11 @@
  * destination address.
  *
- * @param[in]  ip_phone    The IP module phone used for (semi)remote calls.
- * @param[in]  protocol    The transport protocol.
- * @param[in]  destination The destination address.
- * @param[in]  addrlen     The destination address length.
- * @param[out] device_id   The device identifier.
- * @param[out] header      The constructed IP pseudo header.
- * @param[out] headerlen   The IP pseudo header length.
+ * @param[in] ip_phone	The IP module phone used for (semi)remote calls.
+ * @param[in] protocol	The transport protocol.
+ * @param[in] destination The destination address.
+ * @param[in] addrlen	The destination address length.
+ * @param[out] device_id The device identifier.
+ * @param[out] header	The constructed IP pseudo header.
+ * @param[out] headerlen The IP pseudo header length.
  *
  */
@@ -143,8 +141,8 @@
     device_id_t *device_id, void **header, size_t *headerlen)
 {
-	if ((!destination) || (addrlen == 0))
+	if (!destination || (addrlen == 0))
 		return EINVAL;
 	
-	if ((!device_id) || (!header) || (!headerlen))
+	if (!device_id || !header || !headerlen)
 		return EBADMEM;
 	
@@ -169,5 +167,5 @@
 	async_wait_for(message_id, &result);
 	
-	if ((result != EOK) && (*header))
+	if ((result != EOK) && *header)
 		free(*header);
 	else
@@ -179,13 +177,11 @@
 /** Return the device packet dimension for sending.
  *
- * @param[in]  ip_phone         The IP module phone used for (semi)remote calls.
- * @param[in]  device_id        The device identifier.
+ * @param[in] ip_phone	The IP module phone used for (semi)remote calls.
+ * @param[in] device_id	The device identifier.
  * @param[out] packet_dimension The packet dimension.
- *
- * @return EOK on success.
- * @return ENOENT if there is no such device.
- * @return Other error codes as defined for the
- *         generic_packet_size_req_remote() function.
- *
+ * @return		EOK on success.
+ * @return		ENOENT if there is no such device.
+ * @return		Other error codes as defined for the
+ *			generic_packet_size_req_remote() function.
  */
 int ip_packet_size_req_remote(int ip_phone, device_id_t device_id,
@@ -198,14 +194,12 @@
 /** Notify the IP module about the received error notification packet.
  *
- * @param[in] ip_phone  The IP module phone used for (semi)remote calls.
- * @param[in] device_id The device identifier.
- * @param[in] packet    The received packet or the received packet queue.
- * @param[in] target    The target internetwork module service to be
- *                      delivered to.
- * @param[in] error     The packet error reporting service. Prefixes the
- *                      received packet.
- *
- * @return EOK on success.
- *
+ * @param[in] ip_phone	The IP module phone used for (semi)remote calls.
+ * @param[in] device_id	The device identifier.
+ * @param[in] packet	The received packet or the received packet queue.
+ * @param[in] target	The target internetwork module service to be
+ *			delivered to.
+ * @param[in] error	The packet error reporting service. Prefixes the
+ *			received packet.
+ * @return		EOK on success.
  */
 int ip_received_error_msg_remote(int ip_phone, device_id_t device_id,
@@ -220,15 +214,14 @@
  * The packets may get fragmented if needed.
  *
- * @param[in] ip_phone  The IP module phone used for (semi)remote calls.
- * @param[in] device_id The device identifier.
- * @param[in] packet    The packet fragments as a packet queue. All the
- *                      packets have to have the same destination address.
- * @param[in] sender    The sending module service.
- * @param[in] error     The packet error reporting service. Prefixes the
- *                      received packet.
- *
- * @return EOK on success.
- * @return Other error codes as defined for the generic_send_msg() function.
- *
+ * @param[in] ip_phone	The IP module phone used for (semi)remote calls.
+ * @param[in] device_id	The device identifier.
+ * @param[in] packet	The packet fragments as a packet queue. All the
+ *			packets have to have the same destination address.
+ * @param[in] sender	The sending module service.
+ * @param[in] error	The packet error reporting service. Prefixes the
+ *			received packet.
+ * @return		EOK on success.
+ * @return		Other error codes as defined for the generic_send_msg()
+ *			function.
  */
 int ip_send_msg_remote(int ip_phone, device_id_t device_id, packet_t packet,
@@ -243,8 +236,7 @@
  * This gateway is used if no other route is found.
  *
- * @param[in] ip_phone  The IP module phone used for (semi)remote calls.
- * @param[in] device_id The device identifier.
- * @param[in] gateway   The default gateway.
- *
+ * @param[in] ip_phone	The IP module phone used for (semi)remote calls.
+ * @param[in] device_id	The device identifier.
+ * @param[in] gateway	The default gateway.
  */
 int ip_set_gateway_req_remote(int ip_phone, device_id_t device_id,
