This member of the private data is set based on the cmd->stop_src. Just use the
cmd->stop_src directly and remove the member.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        unsigned int enabled_mask;
        unsigned int stop_count;
        unsigned int active:1;
-       unsigned int continuous:1;
 };
 
 struct pcmuio_private {
        }
 
        /* Check for end of acquisition. */
-       if (!chip->continuous) {
-               /* stop_src == TRIG_COUNT */
+       if (cmd->stop_src == TRIG_COUNT) {
                if (chip->stop_count > 0) {
                        chip->stop_count--;
                        if (chip->stop_count == 0) {
        /* Set up end of acquisition. */
        switch (cmd->stop_src) {
        case TRIG_COUNT:
-               chip->continuous = 0;
                chip->stop_count = cmd->stop_arg;
                break;
        default:
                /* TRIG_NONE */
-               chip->continuous = 1;
                chip->stop_count = 0;
                break;
        }