Project

General

Profile

Actions

Cleanup #4262

closed

libceph: drop redundant page info assignments

Added by Alex Elder about 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

In calc_layout(), there are some assignments to osd request
fields r_num_pages and r_page_alignment. These assignments
turn out to be immediately reassigned in the caller, so they
are unnecessary. They also could be assigning a different
value than is assigned in the caller, so the assignment here
makes things confusing.

Clean up that bit of code and get rid of the redundant
assingmnents.

(This work is already done, basically, I've just decided
it's worth keeping and I'm posting it for review.)

Actions

Also available in: Atom PDF