Opened 14 years ago

Closed 14 years ago

#197 closed defect (fixed)

udp_process_client_messages() defines a superfluous variable 'lock'

Reported by: Jakub Jermář Owned by:
Priority: major Milestone: 0.4.2
Component: helenos/net/udp Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description

udp_process_client_messages() is a connection fibril function which declares a local lock:

fibril_rwlock_t                 lock;

Since no contention for this lock is possible, having this lock does not provide any synchronization.

Change History (1)

comment:1 by Jakub Jermář, 14 years ago

Resolution: fixed
Status: newclosed

Fixed in changeset:head,310.

Note: See TracTickets for help on using tickets.